package com.jiazhong.basic.pack0518;

import com.jiazhong.basic.pack0518.bean.Emp;
import com.jiazhong.basic.pack0518.dao.EmpDAO;

import java.util.List;

public class App {

    public static void main(String[] args) {
        EmpDAO edao = new EmpDAO();
        /*List<Emp> list = edao.find3();
        list.forEach(System.out::println);*/
        /*Emp emp = edao.findById(8056);
        System.out.println(emp);*/
        List<Emp> list = edao.findByPage(9);
        list.forEach(System.out::println);
    }
}
